import App from './App'

import Vue from 'vue'

import uView from 'uview-ui'
Vue.use(uView)

// 挂载请求
import api from './api/index.js'
Vue.prototype.$api = api

//封装公共方法
import utils from './utils'
Vue.use(utils)

// 混入分享js
import commonShare from '@/utils/commonShare.js'
Vue.mixin(commonShare)

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
  ...App
})
app.$mount()
